﻿using SD.Infrastructure.RepositoryBase;
using SlamDunk.MES.Domain.Entities.DefinitionContext;
using System;
using System.Collections.Generic;

namespace SlamDunk.MES.Domain.IRepositories.Interfaces.DefinitionContext
{
    /// <summary>
    /// 工艺段物料规范仓储接口
    /// </summary>
    public interface ISegmentMaterialRuleRepository : IEntityRepository<SegmentMaterialRule>
    {
        #region # 获取工艺段物料规范列表 —— ICollection<SegmentMaterialRule> Find(Guid segmentId)
        /// <summary>
        /// 获取工艺段物料规范列表
        /// </summary>
        /// <param name="segmentId">工艺段Id</param>
        /// <returns>工艺段物料规范列表</returns>
        ICollection<SegmentMaterialRule> Find(Guid segmentId);
        #endregion
    }
}
